public class LcdTest extends Processor {
    static Lcd lcd;
    final static String hello = "Hello, world!";
    final static String numbers = "1234567890";

    public static void main(String[] args) {
	_clock(4000000);

	// port A
	lcd = new Lcd(0x06, 0x86);

	lcd.clear();
	
	for (int i = 0; i < hello.length(); i++)
	    lcd.sendChar(hello.charAt(i));

	lcd.line2();

	for (int i = 0; i < numbers.length(); i++)
	    lcd.sendChar(numbers.charAt(i));

	stop();
    }

    static void stop() {
	for (;;) lcd.msDelay(1);
    }
}
